//
//  ViewController.swift
//  CustomStatusBarDemo
//
//  Created by 李煜 on 2024/1/12.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        print("=========")
        let blue = UIView(frame: .init(x: 100, y: 100, width: 100, height: 100))
        view.addSubview(blue)
        blue.backgroundColor = .systemBlue
    }
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.statusBarColorChange()
    }
}

